<%@ page pageEncoding="UTF-8"%>
<%@ page import="com.pmsco.pms.util.BundleUtil"%>
<%@ include file="/WEB-INF/import/tagLibs.jsp" %>

<script id="tpl-drug-totalresult" type="x-handlebars-template">
  	<tr class="drugResult" align="center">
		<td>
			<span class="totalResult"><spring:message code="search.totalResult" />:{{total}}</span>
		</td>
	</tr>
</script>

<script id="tpl-drug-result" type="x-handlebars-template" charset="UTF-8">
  	<tr class="drugResult">
		<td onclick="submitAction('.<%=PmsConstant.viewMedicine_Url%>?id={{id}}');">
			<div class="drugName">
				<span>{{name}}</span>
			</div>	
			<div class="drugResultImage">
			</div>
			<div class="drugResultInfo">
				<span class="drugInfoLabel"><spring:message code="search.category" />:</span><span class="drugInfo">{{category}}</span><br>
				<span class="drugInfoLabel"><spring:message code="search.subCategory" />:</span><span class="drugInfo">{{subCategory}}</span><br>
				<span class="drugInfoLabel"><spring:message code="search.dispenseType" />:</span><span class="drugInfo">{{dispenseType}}</span><br>
				<span class="drugInfoLabel"><spring:message code="search.manufacturer" />:</span><span class="drugInfo">{{manufacturer}}</span><br>
				<span class="drugInfoLabel"><spring:message code="search.distributor" />:</span><span class="drugInfo">{{distributor}}</span><br>
				<span class="drugInfoLabel"><spring:message code="search.importer" />:</span><span class="drugInfo">{{importer}}</span><br>
				<span class="drugInfoLabel"><spring:message code="search.visa" />:</span><span class="drugInfo">{{visa}}</span>
			</div>
		</td>
	</tr>
</script>